package com.tencent.wxcloudrun.project.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tencent.wxcloudrun.common.utils.TokenUtils;
import com.tencent.wxcloudrun.common.utils.redis.RedisUtil;
import com.tencent.wxcloudrun.project.entity.User;
import com.tencent.wxcloudrun.project.entity.Variety;
import com.tencent.wxcloudrun.project.entity.muti.OrderMuti;
import com.tencent.wxcloudrun.project.entity.muti.VarietyMuti;
import com.tencent.wxcloudrun.project.entity.query.OrderQuery;
import com.tencent.wxcloudrun.project.entity.query.VarietyQuery;
import com.tencent.wxcloudrun.project.mapper.OrderMapper;
import com.tencent.wxcloudrun.project.mapper.UserMapper;
import com.tencent.wxcloudrun.project.mapper.VarietyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VarietyService extends ServiceImpl<VarietyMapper, Variety> {
    @Autowired
    private VarietyMapper varietyMapper;
    public List<VarietyMuti> pageList(VarietyQuery varietyQuery){
        return varietyMapper.pageList(varietyQuery);
    }
}
